a11y: Handle relations in UI files
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 21 Oct 2020 13:48:49 +0000 (14:48 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Wed, 21 Oct 2020 13:48:49 +0000 (14:48 +0100)
commit80756322cd13dd7a4c5f73f797f2603d01ece06a
treeb448acc2f2f59a26f81269b18f6d0039cff2f1db
parent7702670d86e7339fa0437df4be4df37d88711efb
a11y: Handle relations in UI files

A bit hacky: we skip parsing values that have a reference or
reference-list type, but we do not error out. Instead, we return a NULL
value, which we catch in the GtkBuildable interface implementation to
get the actual object, and construct a reference list value.

There's still some ickyness around the value type that can only be
solved by having an attribute and role taxonomy.
gtk/gtkaccessiblevalue.c
gtk/gtkwidget.c